<div class="bjui-pageContent">
  <form action="__URL__/add/navTabId/{:CONTROLLER_NAME}" class="pageForm" data-toggle="validate">
    <input type="hidden" name="id" value="{$id}">
    <div class="pageFormContent" data-layout-h="0">
      <table class="table table-condensed table-hover" width="100%">
        <tbody>
          <tr>
            <td>
              <label for='bianhao_input' class='control-label x85'>合同编号:</label>
              <input type='text' id='bianhao' name='bianhao'  size='20'   value='{$Rs.bianhao}'  ></td>
          </tr>
          <tr>
            <td>
              <label for='title_input' class='control-label x85'>合同名称:</label>
              <input type='text' id='title' name='title' data-rule='required;' size='20'   value='{$Rs.title}'  ></td>
            <td>
              <label for='jcid_input' class='control-label x85'>客户ID:</label>
              <input type='text' id='jcid' name='jcid'  size='20' data-toggle='lookup' data-url='__MODULE__/public/cname/navTabId/{:CONTROLLER_NAME}'  value='{$Rs.jcid}'  ></td>
          </tr>
          <tr>
            <td>
              <label for='jcname_input' class='control-label x85'>客户名称:</label>
              <input type='text' id='jcname' name='jcname'  size='20' data-toggle='lookup' data-url='__MODULE__/public/cname/navTabId/{:CONTROLLER_NAME}'  value='{$Rs.jcname}'  ></td>
            <td>
              <label for='xingming_input' class='control-label x85'>联系人:</label>
              <input type='text' id='xingming' name='xingming'  size='20'   value='{$Rs.xingming}'  ></td>
          </tr>
          <tr>
            <td>
              <label for='dianhua_input' class='control-label x85'>联系电话:</label>
              <input type='text' id='dianhua' name='dianhua'  size='20'   value='{$Rs.dianhua}'  ></td>
            <td>
              <label for='jine_input' class='control-label x85'>合同金额:</label>
              <input type='text' id='jine' name='jine' data-rule='required;doubles' size='20'   value='{$Rs.jine}'  ></td>
          </tr>
          <tr>
            <td>
              <label for='name_input' class='control-label x85'>业务员:</label>
              <input type='text' id='name' name='name'  size='20' data-toggle='lookup' data-url='__MODULE__/public/htuser/navTabId/{:CONTROLLER_NAME}'  value='{$Rs.name}'  ></td>
            <td>
              <label for='juid_input' class='control-label x85'>分享给:</label>
              <input type='text' id='juid' name='juid'  size='20' data-toggle='lookup' data-url='__MODULE__/public/user/navTabId/{:CONTROLLER_NAME}'  value='{$Rs.juid}'  ></td>
          </tr>
          <tr>
            <td>
              <label for='juname_input' class='control-label x85'>分享给:</label>
              <input type='text' id='juname' name='juname'  size='20' data-toggle='lookup' data-url='__MODULE__/public/user/navTabId/{:CONTROLLER_NAME}'  value='{$Rs.juname}'  ></td>
            <td>
              <label for='dqrq_input' class='control-label x85'>到期日期:</label>
              <input type='text' data-toggle='datepicker' id='dqrq' name='dqrq'   size='20'   value='{$Rs.dqrq|substr=###,0,10}'  ></td>
          </tr>
          <tr></tr>
          <tr></tr>
          <tr>
            <td colspan=2>
              <label for='beizhu_input' class='control-label x85'>合同详情:</label>
              <div style='display: inline-block; vertical-align: middle;'>
                <textarea name='beizhu'   data-toggle='kindeditor' data-minheight='150' data-items='fontname, fontsize, |, forecolor, hilitecolor, bold, italic, underline, removeformat, |, justifyleft, justifycenter, justifyright, insertorderedlist, insertunorderedlist, |, emoticons, image, link'>{$Rs.beizhu}</textarea>
              </div>
            </td>
          </tr>
        </tr>
        <tr>
          <td colspan=2>
            <label for='attid_input' class='control-label x85'>上传附件:</label>
            <div style='display: inline-block; vertical-align: middle;'>
              <IFRAME   src='__MODULE__/Public/attfile/attid/{$attid}/'  frameBorder=0 width='100%' height='30' scrolling=no ></IFRAME>
              <input type='hidden' id='attid' name='attid'  value='{$attid}'  ></div>
          </td>
        </tr>
      </tbody>
    </table>
  </div>
  <div class="bjui-footBar">
    <ul>
      <li>
        <button type="button" class="btn-close" data-icon="close">取消</button>
      </li>
      <li>
        <button type="submit" class="btn-default" data-icon="save">保存</button>
      </li>
    </ul>
  </div>
</form>
</div>